package com.xinyi.weixin.core.message.receive;
/**
 * 
 * @description 视频消息
 * @author wangchuan
 * @date 2014年7月4日下午11:13:57
 * @version 1.0
 */
public class VideoReceiveMessage extends ReceiveMessage {
	/**
	 * 视频消息媒体id，可以调用多媒体文件下载接口拉取数据
	 */
	private String mediaid;
	/**
	 * 视频消息缩略图的媒体id，可以调用多媒体文件下载接口拉取数据
	 */
	private String thumbmediaid;
	
	public VideoReceiveMessage(){
	}
	
	public VideoReceiveMessage(String msgId, String fromUserName, String toUserName, String mediaid,String thumbmediaid, long createTime){
		super(msgId, video, fromUserName, toUserName, createTime);
		this.mediaid = mediaid;
		this.thumbmediaid = thumbmediaid;
	}
	
	public String getMediaid() {
		return mediaid;
	}
	public void setMediaid(String mediaid) {
		this.mediaid = mediaid;
	}
	public String getThumbmediaid() {
		return thumbmediaid;
	}
	public void setThumbmediaid(String thumbmediaid) {
		this.thumbmediaid = thumbmediaid;
	}

	@Override
	public String toString() {
		return "VideoReceiveMessage [mediaid=" + mediaid + ", thumbmediaid=" + thumbmediaid + ", getMsgId()=" + getMsgId() + ", getMsgType()=" + getMsgType() + ", getFromUserName()="
				+ getFromUserName() + ", getToUserName()=" + getToUserName() + ", getCreateTime()=" + getCreateTime() + "]";
	}

}
